<div class="d-flex pt-3 pb-3 border-bottom align-items-center mb-2">
    <a href="{{route('edu.center.topic.index',['user'=>$activity->causer])}}" class="mr-3">
        <span>
            <img src="{{$activity->causer->icon}}" class="avatar45 rounded">
        </span>
    </a>
    <div class="d-flex flex-column justify-content-between">

        <div class="text-muted h5">
            @if(!$activity->subject->reply_user_id)
                评论了<a href="{{$activity->subject->commentable->link}}" class="text-muted">

                    《{{$activity->subject->commentable->title}}》
                </a>
            @else
                回复了
                <a href="{{route('edu.center.topic.index',$activity->subject->commentable->user)}}" class="text-primary">
                    {{$activity->subject->commentable->user->name}}
                </a>
                的
                <a href="{{$activity->subject->commentable->link}}" class="text-muted">

                    《{{$activity->subject->commentable->title}}》
                </a>
            @endif
        </div>

        <div class="small text-black-50">
            <span class="badge badge-info">评论</span>
            <a href="{{route('edu.center.topic.index',['user'=>$activity->causer])}}" class=" ">
                {{$activity->causer->name}}
            </a>
            发表于 {{$activity->subject->created_at->diffForHumans()}}
        </div>
    </div>
</div>
